package com.top10.service.impl;

import com.top10.entity.TbUserAddress;
import com.top10.mapper.TbUserAddressMapper;
import com.top10.service.TbUserAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TbUserAddressServiceImpl implements TbUserAddressService {

	@Autowired
	private TbUserAddressMapper tbUserAddressMapper;

	@Override
	public Integer add(TbUserAddress tbUserAddress)throws Exception{
		return tbUserAddressMapper.insert(tbUserAddress);
	}
}
